<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="ajax" uri="javawebparts/ajaxparts/taglib"%>
<div>
	<table class="verdana12blacknormal" width="100%">
		<tbody>
		<tr>
				<td height="40" class="sectionheading bottom-border">
					System Statistics
				</td>
			</tr>
		<tr>
			<td class="verdana12blackbold">
				<b><font>Auctions  </font> </b>
			</td>	
  		</tr>
  <tr>
    <td width="100%">
    <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
      <tbody><tr>
        <td class="verdana12blacknormal">Total:</td><td class="verdana12blacknormal"> <s:text name="auctionCount.total" /> </td>

        <td class="verdana12blacknormal">&nbsp;&nbsp;Open:</td><td class="verdana12blacknormal"><s:text name="auctionCount.open" /></td>
        <td class="verdana12blacknormal">&nbsp;&nbsp;Ended:</td><td class="verdana12blacknormal"><s:text name="auctionCount.ended" /></td>
      </tr>
    </tbody></table>
    </td>
  </tr>
			<tr>
				<td>
					<b><font>Accounts</font> </b>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td class="verdana12blacknormal">
									Total: <s:text name="totalRegisteredUser" />
									Active: <s:text name="totalActiveUser" /> 
									Suspended: <s:text name="totalSuspendedUser" />
								</td>
							</tr>
							<tr>
								<td class="verdana12blacknormal">
								<s:url id="url" action="showUserRegistrationStatistics.htm" namespace="/admin" />
									Registration History
									<s:a href="%{url}&days=7" cssClass="navi-link">1 Week</s:a>
									<s:a href="%{url}&days=30" cssClass="navi-link">1 Month</s:a>
									<s:a href="%{url}&days=183" cssClass="navi-link">6 Months</s:a>
									<s:a href="%{url}&days=365" cssClass="navi-link">1 Year</s:a>
									<s:a href="%{url}&days=1095" cssClass="navi-link">3 Years</s:a>
									<s:a href="%{url}&days=1825" cssClass="navi-link">5 Years</s:a>
									<s:a href="%{url}&days=0" cssClass="navi-link">All</s:a>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<b><font>Categories </font> </b>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td class="verdana12blacknormal">
									General Total:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.total" />
								</td>
								<td class="verdana12blacknormal">
									Active:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.active" />
								</td>
								<td class="verdana12blacknormal">
									Adult:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.adult" />
								</td>
								<td class="verdana12blacknormal">
									Domain:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.domain" />
								</td>
								<td class="verdana12blacknormal">
									Accept:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.accept" />
								</td>
								<td class="verdana12blacknormal">
									Login Required:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="categoriesCount.login" />
								</td>
							</tr>
							</tbody>
					</table>
				</td>
			</tr>
							
							<tr>
							<td class="verdana12blacknormal">
							<b><font>Location</font> </b>
							</td>
							</tr>
							<tr>
							<td class="verdana12blacknormal">
								<table>
									<tbody>
											<tr>
												<td class="verdana12blacknormal">
												Total:
												</td>
												<td class="verdana12blacknormal">
													<s:property value="locationCategories"/>
												</td>
											</tr>
										</tbody>
									</table>
							</td>
						
			<tr>
				<td>
					<b><font>Bids</font> </b>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td class="verdana12blacknormal">
									Total:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="bidCount.total" />
								</td>
								<td class="verdana12blacknormal">
									Successfull:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="bidCount.successfull" />
								</td>
								<td class="verdana12blacknormal">
									Outbid:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="bidCount.outbid" />
								</td>
								<td class="verdana12blacknormal">
									Canceled:
								</td>
								<td class="verdana12blacknormal">
									<s:text name="bidCount.canceled" />
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<b><font>Feedback Forum </font> </b>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tbody>
							<tr>
								<td class="verdana12blacknormal">
									Total:
								</td>
								<td class="verdana12blacknormal">
									<s:property value="feedBackCount.total"/>
								</td>
								<td class="verdana12blacknormal">
									Positive:
								</td>
								<td class="verdana12blacknormal">
									<s:property value="feedBackCount.positive"/>
								</td>
								<td class="verdana12blacknormal">
									Negative:
								</td>
								<td class="verdana12blacknormal">
									<s:property value="feedBackCount.negative"/>
								</td>
								<td class="verdana12blacknormal">
									Neutral:
								</td>
								<td class="verdana12blacknormal">
									<s:property value="feedBackCount.neutral"/>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>
